package me.toalec.RankUp.Permissions;

import java.util.ArrayList;

import org.bukkit.entity.Player;

public abstract class PermissionsBase {

	abstract boolean hasPermission(Player player, String node);
	abstract boolean isValidPlayer(String playerName, Player worldReference);
	abstract boolean isValidGroup(String groupName, Player worldReference);
	abstract ArrayList<String> getGroupName( String playerName, Player worldReference);
	abstract void removeGroup(String playerName, Player worldReference, String startingGroup);
	abstract void addGroup(String playerName, Player worldReference, String endingGroup);
	abstract void addPermission(Player player, String node);
	
}
